# use image, not picture
# python做研究的三大法宝

import cv2
# import  matplotlib as plot 这个似乎没有啥用
import matplotlib.pyplot as pyplot


def im_show():
    image = cv2.imread("/Users/yongli/Pictures/flower.jpeg")

    cv2.namedWindow("image")

    cv2.imshow("image", image)  # cv2相当于一个大的对象，已经关联了一个,某某窗口显示某某图片

    cv2.waitKey(800)  # 0是永远等待

    cv2.destroyAllWindows()


def plot_fn():
    x = []
    y = []
    for i in range(100):
        x[i] = i
        y[i] = 2 * i

im_show()